package birthtree;

public class Edge implements Comparable<Edge> 
{ 
	public int v1, v2, len; public Edge(int v1, int v2, int len) 
	{ 
		this.v1 = v1; this.v2 = v2; this.len = len; 
	} 
	@Override 
	public int compareTo(Edge o) 
	{ return len - o.len; } 
	@Override 
	public String toString() 
	{ return len + ""; } 
} 



